package com.css.fxfzxczh.modules.synthesizeInfoManage.knowledgeManagement.repository;

import com.css.fxfzxczh.modules.synthesizeInfoManage.knowledgeManagement.entity.KnowledgeManagement;

import java.util.List;
import java.util.Map;

public interface KnowledgeManagementRepository {
    void save(KnowledgeManagement param);

    void updateById(KnowledgeManagement param);

    void deleteById(String id);

    Map<String, Object> getPage(KnowledgeManagement queParams, int curPage, int pageSize);

    void updateFile(KnowledgeManagement param);

    String getCode(String xsemId);

    void batchSave(List<KnowledgeManagement> list);

    List<KnowledgeManagement> queryByParam(KnowledgeManagement param);

    KnowledgeManagement findById(String id);

    void updateXsemId(String xsemId, String convertedXsemId);

    String getXsemCode(String xsemId);

    String getMaxNum(String toString);
}
